inspector: Warn if using the default display
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Apr 2019 18:19:40 +0000 (18:19 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Apr 2019 18:19:40 +0000 (18:19 +0000)
gtk/inspector/window.c

index 2bf2a35dea6c26472650a16f6f0b28364189c3f2..e7c9ee9fb1fe9a0c7b1676db8671896179deb7ec 100644 (file)
@@ -398,6 +398,9 @@ get_inspector_display (void)
   if (!display)
     display = gdk_display_get_default ();
 
+  if (display == gdk_display_get_default ())
+    g_message ("Using default display for GtkInspector; expect some spillover");
+
   return display;
 }